<include file="Common/header" />
 
<title>内容列表</title>
</head>
<body class="pos-r">
 	<nav class="breadcrumb">
    <i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span>  
    {:location()}
     <a class="btn btn-success radius r mr-20" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a>
    </nav>
	
    
    <div class="pd-20">
    <form action="" method="get">
		<div class="text-c"> 日期范围:
			<input type="text" name="start" value="{$start}" onfocus="WdatePicker({maxDate:'#F{ $dp.$D(\'logmax\')||\'%y-%M-%d\'}'})" id="logmin" class="input-text Wdate" style="width:120px;">
			-
			<input type="text" name="end" value="{$end}" onfocus="WdatePicker({minDate:'#F{ $dp.$D(\'logmin\')}'})" id="logmax" class="input-text Wdate" style="width:120px;"> 
			<input type="text" name="kw" id="" placeholder=" 产品名称" value="{$keywords}" style="width:250px" class="input-text">
         
			<button name="" id="" class="btn btn-success" type="submit"><i class="Hui-iconfont">&#xe665;</i> 搜产品</button> 
            
		</div> 
        
   </form>      
		<div class="cl pd-5 bk-gray" style="margin-top:10px;">
        
         <span class="l">
         <a href="javascript:;"  class="btn btn-danger radius del postajaxids_ldh" _href="{:U('del',array('catid'=>$catid))}" msg="确定要批量删除!"> 
         <i class="Hui-iconfont">&#xe6e2;</i> 批量删除</a>
          <a class="btn btn-primary radius"  href="{:U('Content/edit',array('catid'=>$catid))}" target="_blank">
          <i class="Hui-iconfont">&#xe600;</i> 添加产品</a>
          </span> 
          <span class="r">共有数据:<strong>{$total}</strong> 条</span>
          
           </div>
           
           
		<div class="mt-20">
			<table class="table table-border  table-bg table-hover table-sort">
				<thead>
					<tr class="text-c">
						<th width="16"><input name="" type="checkbox" value=""></th>
                        	<th width="30">排序</th> 
						<th width="30">ID</th>
						<th width="60">缩略图</th>
						<th width="200">产品名称</th>
						 
					 
                        <th width="60">发布人</th>
						<th width="60">发布时间</th>
                        	<th width="60">状态</th>
						<th width="100">操作</th>
					</tr>
				</thead>
				<tbody>
                
                <volist name="list" id="vo">
					<tr class="text-c va-m">
						<td><input name="" class="ids_ldh" type="checkbox" value="{$vo.id}"></td>
                        <td align="center"><input name="listorders[{$vo.id}]" type="text" size="3" value="{$vo.listorder}" class="input-text radius btn"></td>
						<td>{$vo.id}</td>
						<td><a  href="javascript:;"><img width="60" class="product-thumb" src="{$vo.thumb}"></a></td>
						<td class="text-l">
                        <a style="text-decoration:none"  href="javascript:;">
                       {$vo.title}
                         </a>
                         </td>
 					 
                        <td>管理员</td>
						<td class="td-status">{:date('Y-m-d H:s',$vo['inputtime'])}
                     </td>
                        
           <td>   
            <a  class="getajax_ldh" _href="{:U('status',array('catid'=>$vo['catid'],'id'=>$vo['id'],'status'=>$vo['status']))}">
         <if condition="$vo['status'] eq 99">
           <span class="label label-success radius">显示</span>
          <elseif condition="$vo['status'] eq 1" />
            <span class="label  label-primary radius">未通过</span>
          <elseif condition="$vo['status'] eq 0" />
            <span class="label label-default  radius">关闭</span> 
          </if>
             </a>
             </td> 
		<td class="td-manage">
   <a style="text-decoration:none" class="ml-5" href="{:U('edit',array('catid'=>$catid,'id'=>$vo['id']))}" target="_blank" title="编辑">
                        <i class="Hui-iconfont">&#xe6df;</i></a> 
                        
                        
                        <a style="text-decoration:none" class="ml-5 getajax_ldh del" _href="{:U('del',array('catid'=>$catid,'id'=>$vo['id']))}"  href="javascript:;" msg="确定要删除?" title="删除">
                        <i class="Hui-iconfont">&#xe6e2;</i></a>
                        </td> 
					</tr>
                   </volist>
                   
                   
                   
				</tbody>
			</table>
              <div class="pages">
  {$Page}
  </div>
  
		</div>
	</div>
    
 
  
 
 </body>
</html>